package com.qububu.emporium.shoppingCart.dto;

import com.qububu.utils.SystemUtil;

public class CartSaveGoodsMessageDto {

	private String goodsId;
	
	private String goodsName;
	
	private String goodsPrice; // 商品单价
	
	private String goodsPicUrl;
	
	private int goodsQuantity; // 商品数量
	
	private int goodsUseNum;
	
	private long addGoodsDttm;

	public CartSaveGoodsMessageDto(int goodsId) {
		this.goodsId = SystemUtil.encrypt(String.valueOf(goodsId) );
	}
	
	public CartSaveGoodsMessageDto(String goodsId) {
		this.goodsId = goodsId;
	}
	
	public long getAddGoodsDttm() {
		return addGoodsDttm;
	}

	public void setAddGoodsDttm(long addGoodsDttm) {
		this.addGoodsDttm = addGoodsDttm;
	}

	public int getGoodsUseNum() {
		return goodsUseNum;
	}

	public void setGoodsUseNum(int goodsUseNum) {
		this.goodsUseNum = goodsUseNum;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(String goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public String getGoodsPicUrl() {
		return goodsPicUrl;
	}

	public void setGoodsPicUrl(String goodsPicUrl) {
		this.goodsPicUrl = goodsPicUrl;
	}

	public int getGoodsQuantity() {
		return goodsQuantity;
	}

	public void setGoodsQuantity(int goodsQuantity) {
		this.goodsQuantity = goodsQuantity;
	}
	
}
